package com.qiandw.enterprise.credit.entity

import java.lang._
import java.util.Date

import com.fasterxml.jackson.databind.annotation.JsonSerialize

import scala.beans.BeanProperty

/**
  * 用戶
  * Created by Draven on 2018/7/12.
  * Email:hjx@qiandw.com
  */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
class User {
  @BeanProperty
  var id: String = _
  @BeanProperty
  var username: String = _
  @BeanProperty
  var password: String = _
  @BeanProperty
  var realname: String = _
  @BeanProperty
  var nickname: String = _
  @BeanProperty
  var gender: String = _
  @BeanProperty
  var age: Integer = _
  @BeanProperty
  var birthday: String = _
  @BeanProperty
  var mobile: String = _
  @BeanProperty
  var idCard: String = _
  @BeanProperty
  var email: String = _
  @BeanProperty
  var intro: String = _
  @BeanProperty
  var address: String = _
  @BeanProperty
  var profilePhoto: String = _
  @BeanProperty
  var point: Long = 0L
  @BeanProperty
  var rank: Integer = 0
  @BeanProperty
  var openId: String = _
  @BeanProperty
  var wasBlock: Integer = 0
  @BeanProperty
  var createTime: Date = _
  @BeanProperty
  var lastLoginIp: String = _
  @BeanProperty
  var lastLoginTime: Date = _
}
